package com.sky.mapper;

import com.github.pagehelper.Page;
import com.sky.entity.OrderDetail;
import com.sky.vo.OrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface OrderDetilMapper {
    //批量插入数据
    void insertbatch(List<OrderDetail> orderDetailList);



    @Select("select * from order_detail where order_id = #{id}")
    List<OrderDetail> select(Long id);
}
